package com.fangshi.api

import com.google.gson.annotations.SerializedName

data class RecordsResponse(
    @field:SerializedName("data")
    val data: RecordWrapper
) : Response()

data class RecordWrapper(
    @field:SerializedName("total")
    val total: Int,
    @field:SerializedName("rows")
    val rows: List<Record>
)

data class Record(
    @field:SerializedName("tankWagonType")
    val carNo: String,
    @field:SerializedName("roomName")
    val garageId: String,
    @field:SerializedName("warehousingDate")
    val goInTime: String,
    @field:SerializedName("issueDate")
    val goOutTime: String,
    @field:SerializedName("actualResidenceTime")
    val actualResidenceTime: String,
)

data class ExitEnterGarageRequest(
    @field:SerializedName("rommCode")
    val roomCode: String,
    @field:SerializedName("tankWagonCode")
    val tankWagonCode: String,
    @field:SerializedName("inOutType")
    val inOutType: String
)

